package com.yoga.mapper;

import com.yoga.entity.YogaTransaction;
import com.yoga.entity.YogaTransactionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface YogaTransactionDao {
    long countByExample(YogaTransactionExample example);

    int deleteByExample(YogaTransactionExample example);

    int deleteByPrimaryKey(Integer trid);

    int insert(YogaTransaction record);

    int insertSelective(YogaTransaction record);

    List<YogaTransaction> selectByExample(YogaTransactionExample example);

    YogaTransaction selectByPrimaryKey(Integer trid);

    int updateByExampleSelective(@Param("record") YogaTransaction record, @Param("example") YogaTransactionExample example);

    int updateByExample(@Param("record") YogaTransaction record, @Param("example") YogaTransactionExample example);

    int updateByPrimaryKeySelective(YogaTransaction record);

    int updateByPrimaryKey(YogaTransaction record);
}